TAGs: Linear function solver